package com.flower.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flower.domain.dto.buyer.cart.CartDto;
import com.flower.domain.dto.buyer.cart.CartQueryDto;
import com.flower.domain.entity.Cart;
import com.flower.domain.vo.buyer.CartVO;

/**
* @author 86178
* @description 针对表【cart(购物车表)】的数据库操作Service
* @createDate 2025-03-04 12:26:59
*/
public interface CartService extends IService<Cart> {
    Page<CartVO> getCartList(CartQueryDto queryDto);
    void addToCart(CartDto cartDto);
    void updateCart(CartDto cartDto);
    void clearCart(Long buyerId);
}
